<!DOCTYPE html>
<html lang="en">
<head>
    <base href="http://localhost:8080/app/"/>
    <meta charset="UTF-8">
    <title>APP基础信息新增页面</title>
    <link rel="stylesheet" href="resources/plugins/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="pages/developer/insertAppInfo.html"/>
    <style>
        .to-right {
            float: right;
        }
    </style>
    <script type="text/javascript" src="resources/js/core/jquery.3.2.1.min.js"></script>
    <script type="text/javascript" src="resources/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="resources/js/commonAjax.js"></script>
    <script type="text/javascript" src="resources/js/insertAppInfo.js"></script>
</head>
<body>
<div class="main-panel">
    <div class="main-panel-lei">
        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="card-header">
                                <div class="card-title">新增APP基础信息</div>
                            </div>
                            <div class="card-body">
                                <form class="form-horizontal" id="add_form" action="appInfo/addAppInfo" enctype="multipart/form-data" method="post">
                                    <div class="form-group">
                                        <label class="col-sm-3">软件名称</label>
                                        <div class="col-sm-9 to-right">
                                            <input class="form-control" name="softwareName" placeholder="请输入软件名称">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">APK名称</label>
                                        <div class="col-sm-9 to-right">
                                            <input class="form-control" name="apkName" placeholder="请输入APK名称">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">支持的ROM</label>
                                        <div class="col-sm-9 to-right">
                                            <input class="form-control" name="supportROM" placeholder="请输入支持的ROM">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">界面语言</label>
                                        <div class="col-sm-9 to-right">
                                            <input class="form-control" name="interfaceLanguage" placeholder="请输入软件支持的界面语言">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">软件大小</label>
                                        <div class="col-sm-9 to-right">
                                            <input class="form-control" name="softwareSize" placeholder="请输入软件大小，单位为MB">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">下载次数</label>
                                        <div class="col-sm-9 to-right">
                                            <input class="form-control" name="downloads" placeholder="请输入下载次数">
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-sm-3">所属平台</label>
                                        <div class="col-sm-9 to-right con_li_box">
                                            <select name="flatformId" class="form-control appPlatform">
                                                <option value="-1">请选择</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-sm-3">一级分类</label>
                                        <div class="col-sm-9 to-right con_li_box">
                                            <select name="categoryLevel1" class="form-control levelOne">
                                                <option value="-1">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">二级分类</label>
                                        <div class="col-sm-9 to-right con_li_box">
                                            <select name="categoryLevel2" class="form-control levelTwo">
                                                <option value="-1">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">三级分类</label>
                                        <div class="col-sm-9 to-right con_li_box">
                                            <select name="categoryLevel3" class="form-control levelThree">
                                                <option value="-1">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3">APP状态</label>
                                        <div class="col-sm-9 to-right con_li_box">
                                            <select name="status" class="form-control appState">
                                                <option value="-1">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="comment" class="col-sm-3">应用简介</label>
                                        <div class="col-sm-9 to-right">
                                            <textarea class="form-control" name="appInfo" id="comment" rows="1"></textarea>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-sm-3">LOGO图片</label>
                                        <div class="col-sm-9 to-right">
                                            <input type="file" name="logoPath" class="form-control-file">
                                        </div>
                                    </div>
                                    <div class="btn-submit">
                                        <button class="btn btn-submit" type="submit">保存</button>
                                        <button class="btn" type="reset">重置</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>